package cn.vcjf.weapp.api.user.entity;

import cn.vcjf.weapp.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;

/**
 * <p>
    * 
    * </p>
 *
 * @author zhengzihang
 * @since 2018-09-25
 */
@TableName("vc_user_cash")
public class UserCash extends PageModel<UserCash> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /**
     * 提现金额
     */
    private BigDecimal cashMoney;

    /**
     * 提现订单号
     */
    private String cashOrderNo;

    /**
     * 提现状态(1,提现中,2成功,3失败)
     */
    private Integer cashStatus;

    /**
     * 提现描述
     */
    private String cashDes;

    /**
     * 币种
     */
    private String currency;

    /**
     * 提现手续费
     */
    private BigDecimal settlePoundage;

    /**
     * 实际到账金额
     */
    private BigDecimal actualMoney;

    /**
     * 账户姓名
     */
    private String accountName;

    /**
     * 银行手机号
     */
    private String bankPhoneNo;

    /**
     * 银行卡号
     */
    private String bankCardNo;

    /**
     * 银行名称
     */
    private String bankName;

    /**
     * 返回消息
     */
    private String pMsg;

    /**
     * 上游所有返回
     */
    private String pAllRes;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public BigDecimal getCashMoney() {
        return cashMoney;
    }

    public void setCashMoney(BigDecimal cashMoney) {
        this.cashMoney = cashMoney;
    }
    public String getCashOrderNo() {
        return cashOrderNo;
    }

    public void setCashOrderNo(String cashOrderNo) {
        this.cashOrderNo = cashOrderNo;
    }
    public Integer getCashStatus() {
        return cashStatus;
    }

    public void setCashStatus(Integer cashStatus) {
        this.cashStatus = cashStatus;
    }
    public String getCashDes() {
        return cashDes;
    }

    public void setCashDes(String cashDes) {
        this.cashDes = cashDes;
    }
    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
    public BigDecimal getSettlePoundage() {
        return settlePoundage;
    }

    public void setSettlePoundage(BigDecimal settlePoundage) {
        this.settlePoundage = settlePoundage;
    }
    public BigDecimal getActualMoney() {
        return actualMoney;
    }

    public void setActualMoney(BigDecimal actualMoney) {
        this.actualMoney = actualMoney;
    }
    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }
    public String getBankPhoneNo() {
        return bankPhoneNo;
    }

    public void setBankPhoneNo(String bankPhoneNo) {
        this.bankPhoneNo = bankPhoneNo;
    }
    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }
    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }
    public String getpMsg() {
        return pMsg;
    }

    public void setpMsg(String pMsg) {
        this.pMsg = pMsg;
    }
    public String getpAllRes() {
        return pAllRes;
    }

    public void setpAllRes(String pAllRes) {
        this.pAllRes = pAllRes;
    }

    @Override
    public void preInsert(){
        super.preInsert();
    }
    @Override
    public void preUpdate(){
        super.preInsert();
    }
    @Override
    public String toString() {
        return "UserCash{" +
        "id=" + id +
        ", userId=" + userId +
        ", cashMoney=" + cashMoney +
        ", cashOrderNo=" + cashOrderNo +
        ", cashStatus=" + cashStatus +
        ", cashDes=" + cashDes +
        ", currency=" + currency +
        ", settlePoundage=" + settlePoundage +
        ", actualMoney=" + actualMoney +
        ", accountName=" + accountName +
        ", bankPhoneNo=" + bankPhoneNo +
        ", bankCardNo=" + bankCardNo +
        ", bankName=" + bankName +
        ", pMsg=" + pMsg +
        ", pAllRes=" + pAllRes +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", deleteFlag=" + deleteFlag +
        ", sysUserId=" + sysUserId +
        "}";
    }
}
